home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / misc_src / knowhow4 / blk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-01  |  634 b   |  27 lines

  1. // BLK.H    Bl with additional Elements. Prototype of user-defined
  2. //          objects.
  3.  
  4. #ifndef __BLOCK_H_
  5. #define __BLOCK_H_
  6.  
  7. #include "bl.h"
  8.  
  9. class Block : public Bl
  10.     {
  11.     public:
  12.     Element* up_element;
  13.     Element* dn_element;
  14.     Element* pg_up_element;
  15.     Element* pg_dn_element;
  16.         Element* left_element;
  17.         Element* right_element;
  18.  
  19.     virtual void rearrange();
  20.  
  21.         Block(rect coord, char* fName = "", char* h = "", int s = 0,
  22.         int res = 0, BORDERS b_type = SHOW_BORDER,
  23.         BORDERS hdr_b_type = SHOW_BORDER,
  24.         int pat = 0, int hdr_pat = 0, int elem_pat = 0);
  25.     };
  26.  
  27. #endif __BLOCK_H_